package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface SetmealDao {

    void add(Setmeal setmeal);

    Page<Setmeal> pageQuery(String queryString);

    @Select("select  *  from  t_setmeal")
    List<Setmeal> selectAll();


    @Select("select  *  from t_setmeal where id =#{id}")
   Setmeal findById(Integer id);
}
